package com.hello.service;

import com.hello.dto.CommentsDTO;
import com.hello.dto.PostSearchDTO;
import com.hello.dto.UserCommentsDTO;
import com.hello.entity.Comments;

import java.util.List;

public interface ICommentsService {
    List<Comments> getComments(Long user_id);
    Long getCommentCount(Long user_id,Integer post_order);
    List<UserCommentsDTO> postComments(PostSearchDTO postSearchDTO);
    boolean addComment(CommentsDTO commentsDTO);

    //String getuserName(UserCommentsDTO userCommentsDTO);
}
